@echo off
echo 1. set cmd proxy to 4780
echo 2. reset cmd proxy
set /p input=select: 

if %input%==1 (
set HTTP_PROXY=http://127.0.0.1:4780
set HTTPS_PROXY=https://127.0.0.1:4780
echo proxy = 4780
pause
) else if %input%==2 (
set HTTP_PROXY=
set HTTPS_PROXY=
echo proxy is reset
pause
)

set HTTP_PROXY=http://127.0.0.1:4780
set HTTPS_PROXY=https://127.0.0.1:4780

